package com.akjava.lib.android.game;

public interface GameRender {

	/**
	 * ゲームを新しく開始します
	 */
	public void doRestart();
	
	/**
	 * タイトルへ移動します
	 */
	public void doTitle();
	
	public GamePreference getGamePreference();
	
	/**
	 * Soundが有効かどうかチェックします
	 */
	public boolean isEnableSound();
	public void setEnableSound(boolean bool);
	
	public static final int CONTROL_DPAD=1;
	public static final int CONTROL_TOUCH_SCREEN=2;
	public static final int CONTROL_MOTION_SENSOR=4;
	
	public void setControlerFlags(int flag);
	public int getControlerFlags();
	
	
	public boolean isControlerMotionSensor();
	public boolean isControlerDPad();
	public boolean isControlerTouchScreen();
	public void setStage(int stage);
	
	public void onSensorOrientation(float[] values);
}
